package cn.aitrox.ry.service.anno.dto.task.in;

import cn.aitrox.ry.bean.PageIn;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
public class TaskSearchInDto extends PageIn {

    private String department;

    private List<Integer> ids;

    private String name;

    // ID/名称/创建人
    private String keyword;

    private Integer status;

    private String uses;

    private String label;

    private String target;

    // 标注医生
    private Integer annoUserId;

    // 单位
    private Integer companyId;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date beginDate;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endDate;
}
